package com.example.trackcircuitdiagnosis.entity;

import io.swagger.v3.oas.annotations.media.Schema;
 import jakarta.persistence.*;
import lombok.Data;

@Data
@Table(name = "changekgl", schema = "track_circuit_diagnosis", catalog = "")
@Schema(name = "changekgl", description = "开关量信息表")
public class ChangekglEntity {

    @Id
    @Column(name = "id")
    @Schema(description = "顺序号id")
    private int id;

    @Column(name = "device_name")
    @Schema(description = "设备名称")
    private String deviceName;

    @Column(name = "position_name")
    @Schema(description = "部位名称")
    private String positionName;

    @Column(name = "collector_number")
    @Schema(description = "采集机编号")
    private int collectorNumber;
}
